package com.cdks.wuxiu.api.service;

import java.util.List;

import com.cdks.wuxiu.entity.mysql.UserBaseInfo;
import com.cdks.wuxiu.entity.mysql.WithdrawAccountInfo;
import com.cdks.wuxiu.entity.mysql.WithdrawMoneyConfig;
import com.cdks.wuxiu.entity.mysql.WithdrawOrderInfo;
import com.cdks.wuxiu.entity.mysql.WithdrawRatioConfig;


/**
 * 提现服务类
 */
public interface WithdrawService {
    List<WithdrawAccountInfo> getAccountList(long userId, List<Integer> types);
    List<WithdrawOrderInfo> getRecord(long userId, int page, long start, long stop);

    int addAccount(WithdrawAccountInfo account);
    int delAccount(long userId, long acctId);
    int createOrder(WithdrawOrderInfo order, long coin);
    int checkUserStatus(long userId);

    WithdrawRatioConfig getWithdrawRatio(UserBaseInfo userInfo, long acctId);
    List<WithdrawRatioConfig> getWithdrawType();  
    List<WithdrawMoneyConfig> getWithdrawMoneyListByType(int type);
    WithdrawMoneyConfig getWithdrawFeeByMoney(int type, int money);
}
